﻿<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="EmployeeDetailControl.ascx.vb" Inherits="SISSAT.WebDevelopment.Shared.UserControls.EmployeeDetailControl" %>
<%@ Register TagPrefix="sissat" TagName="CourseControl" Src="/Shared/UserControls/CourseControl.ascx" %>
<div class="input">
	<div class="label">ID</div>
	<div class="data"><asp:TextBox ID="IdTextBox" runat="server" CssClass="textbox readonly" ReadOnly="True" /></div>
</div>
<sissat:CourseControl ID="CourseControl" runat="server" IsReadOnly="false" />
<div class="input">
	<div class="label">Year</div>
	<div class="data"><asp:TextBox ID="YearTextBox" runat="server" CssClass="textbox req" ReadOnly="False" /></div>
</div>
<asp:MultiView ID="EmployeeDetailControlViews" runat="server" ActiveViewIndex="0">
    <asp:View ID="PartialReadOnlyView" runat="server">
        <div class="input">
	        <div class="label">Name</div>
	        <div class="data"><asp:TextBox ID="FullNameTextBox" runat="server" CssClass="textbox readonly" ReadOnly="True" /></div>
        </div>
    </asp:View>
    <asp:View ID="DefaultView" runat="server">
        <div class="input">
	        <div class="label">First Name</div>
	        <div class="data"><asp:TextBox ID="FirstNameTextBox" runat="server" CssClass="textbox req" ReadOnly="False" /></div>
        </div>
        <div class="input">
	        <div class="label">Middle Name</div>
	        <div class="data"><asp:TextBox ID="MiddleNameTextBox" runat="server" CssClass="textbox req" ReadOnly="False" /></div>
        </div>
        <div class="input">
	        <div class="label">Last Name</div>
	        <div class="data"><asp:TextBox ID="LastNameTextBox" runat="server" CssClass="textbox req" ReadOnly="False" /></div>
        </div>
        <div class="input">
	        <div class="label">Home Address</div>
	        <div class="data"><asp:TextBox ID="HomeAddressTextBox" runat="server" CssClass="textbox req" ReadOnly="False" /></div>
        </div>
        <div class="input">
	        <div class="label"></div>
	        <div class="data"><asp:TextBox ID="HomeAddressExtensionTextBox" runat="server" CssClass="textbox" ReadOnly="False" /></div>
        </div>
    </asp:View>
</asp:MultiView>
<div class="input">
	<div class="label">Contact Number</div>
	<div class="data"><asp:TextBox ID="ContactNumberTextBox" runat="server" CssClass="textbox req" ReadOnly="False" /></div>
</div>
<div class="input">
	<div class="label">E-mail Address</div>
	<div class="data"><asp:TextBox ID="EmailAddressTextBox" runat="server" CssClass="textbox req" ReadOnly="False" /></div>
</div>
<div class="input">
<asp:MultiView ID="ButtonViews" runat="server" ActiveViewIndex="0">
    <asp:View ID="DefaultButtonView" runat="server"></asp:View>
    <asp:View ID="SubmitButtonView" runat="server">
    <div class="label"></div>
    <div class="data">
        <div class="error"><%=ErrorMessage%></div>
        <div class="buttons">
	        <asp:Button ID="SubmitButton" runat="server" CssClass="button" Text="Save Changes" ToolTip="Save Changes" />
            <asp:Button ID="ClearButton" runat="server" CssClass="button" Text="Clear" ToolTip="Clear" />
        </div>
    </div>
    </asp:View>
</asp:MultiView>
</div>

